﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SlidePhoto
{
    public partial class WelcomeScreenViewer : Form
    {
        private string[] showContent;

        public WelcomeScreenViewer(string showContents)
        {
            InitializeComponent();

            showContent = showContents.Split(';');
            this.Text = showContent[0];
            personalMessageBox.Text = showContent[1];
        }

        private void nextButton_Click(object sender, EventArgs e)
        {
            new MainFormViewer(showContent).Show();
            this.Hide();
        }
    }
}
